// vite.config.ts
import { defineConfig } from "file:///D:/a-23%E5%B9%B4%E6%AF%95%E8%AE%BE%E6%96%87%E4%BB%B6/%E8%88%AA%E7%A9%BA%E5%94%AE%E7%A5%A8%E7%B3%BB%E7%BB%9F/air-ticketing/node_modules/.pnpm/vite@5.0.12_@types+node@20.11.5_sass@1.70.0/node_modules/vite/dist/node/index.js";
import vue from "file:///D:/a-23%E5%B9%B4%E6%AF%95%E8%AE%BE%E6%96%87%E4%BB%B6/%E8%88%AA%E7%A9%BA%E5%94%AE%E7%A5%A8%E7%B3%BB%E7%BB%9F/air-ticketing/node_modules/.pnpm/@vitejs+plugin-vue@4.6.2_vite@5.0.12_vue@3.4.15/node_modules/@vitejs/plugin-vue/dist/index.mjs";
import AutoImport from "file:///D:/a-23%E5%B9%B4%E6%AF%95%E8%AE%BE%E6%96%87%E4%BB%B6/%E8%88%AA%E7%A9%BA%E5%94%AE%E7%A5%A8%E7%B3%BB%E7%BB%9F/air-ticketing/node_modules/.pnpm/unplugin-auto-import@0.17.3/node_modules/unplugin-auto-import/dist/vite.js";
import Components from "file:///D:/a-23%E5%B9%B4%E6%AF%95%E8%AE%BE%E6%96%87%E4%BB%B6/%E8%88%AA%E7%A9%BA%E5%94%AE%E7%A5%A8%E7%B3%BB%E7%BB%9F/air-ticketing/node_modules/.pnpm/unplugin-vue-components@0.25.2_vue@3.4.15/node_modules/unplugin-vue-components/dist/vite.mjs";
import { ElementPlusResolver } from "file:///D:/a-23%E5%B9%B4%E6%AF%95%E8%AE%BE%E6%96%87%E4%BB%B6/%E8%88%AA%E7%A9%BA%E5%94%AE%E7%A5%A8%E7%B3%BB%E7%BB%9F/air-ticketing/node_modules/.pnpm/unplugin-vue-components@0.25.2_vue@3.4.15/node_modules/unplugin-vue-components/dist/resolvers.mjs";
import { resolve } from "path";
var __vite_injected_original_dirname = "D:\\a-23\u5E74\u6BD5\u8BBE\u6587\u4EF6\\\u822A\u7A7A\u552E\u7968\u7CFB\u7EDF\\air-ticketing";
var vite_config_default = defineConfig({
  plugins: [
    vue(),
    AutoImport({
      resolvers: [ElementPlusResolver()]
    }),
    Components({
      resolvers: [ElementPlusResolver()]
    })
  ],
  resolve: {
    // ↓路径别名
    alias: {
      "@": resolve(__vite_injected_original_dirname, "./src")
    }
  },
  base: "./",
  server: {
    proxy: {
      "/api": {
        target: "https://756eec92.r15.cpolar.top",
        // 实际请求地址
        // target: 'http://localhost:2024', // 实际请求地址
        changeOrigin: true,
        rewrite: (path) => path.replace(/^\/api/, "")
      }
    }
  }
});
export {
  vite_config_default as default
};
//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsidml0ZS5jb25maWcudHMiXSwKICAic291cmNlc0NvbnRlbnQiOiBbImNvbnN0IF9fdml0ZV9pbmplY3RlZF9vcmlnaW5hbF9kaXJuYW1lID0gXCJEOlxcXFxhLTIzXHU1RTc0XHU2QkQ1XHU4QkJFXHU2NTg3XHU0RUY2XFxcXFx1ODIyQVx1N0E3QVx1NTUyRVx1Nzk2OFx1N0NGQlx1N0VERlxcXFxhaXItdGlja2V0aW5nXCI7Y29uc3QgX192aXRlX2luamVjdGVkX29yaWdpbmFsX2ZpbGVuYW1lID0gXCJEOlxcXFxhLTIzXHU1RTc0XHU2QkQ1XHU4QkJFXHU2NTg3XHU0RUY2XFxcXFx1ODIyQVx1N0E3QVx1NTUyRVx1Nzk2OFx1N0NGQlx1N0VERlxcXFxhaXItdGlja2V0aW5nXFxcXHZpdGUuY29uZmlnLnRzXCI7Y29uc3QgX192aXRlX2luamVjdGVkX29yaWdpbmFsX2ltcG9ydF9tZXRhX3VybCA9IFwiZmlsZTovLy9EOi9hLTIzJUU1JUI5JUI0JUU2JUFGJTk1JUU4JUFFJUJFJUU2JTk2JTg3JUU0JUJCJUI2LyVFOCU4OCVBQSVFNyVBOSVCQSVFNSU5NCVBRSVFNyVBNSVBOCVFNyVCMyVCQiVFNyVCQiU5Ri9haXItdGlja2V0aW5nL3Zp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